package com.ruoyi.app.domain.vo

import com.ruoyi.app.common.PageMp
import com.ruoyi.back.domain.v3.PicSubFace
import com.ruoyi.back.domain.v3.VideoSubFace
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

@ApiModel("模板列表参数")
data class TemplateListVo(

    @ApiModelProperty("模板id")
    var id: Long? = null,

    @ApiModelProperty("链接内容")
    var content: String? = null,

    @ApiModelProperty("封面")
    var cover: String? = null,

    @ApiModelProperty("标题")
    var title: String? = null,

    @ApiModelProperty("是否免费")
    var free: Boolean? = false,

    @ApiModelProperty("待替换的人脸照片 体验类型使用")
    var preChangeFaceUrl: String? = null,

    @ApiModelProperty("替换完成的视频图片资源 体验类型使用")
    var changeFaceUrl: String? = null,

    @ApiModelProperty("视频子人脸信息")
    var videoSubFaces: List<VideoSubFace>? = null,

    @ApiModelProperty("图片子人脸信息")
    var picSubFaces: List<PicSubFace>? = null,

    @ApiModelProperty("模板详细信息")
    var templateDetail: TemplateDetailVo? = null
)

@ApiModel("用户收藏参数")
data class UserCollectData(

    @ApiModelProperty("视频收藏")
    var videoCollect: PageMp<TemplateListVo>? = null,

    @ApiModelProperty("图片收藏")
    var picCollect: PageMp<TemplateListVo>? = null
)

@ApiModel("模板栏目数据参数")
data class TemplateIndex(

    @ApiModelProperty("视频模板")
    var videoTemplate: List<CategoryVo>? = null,

    @ApiModelProperty("图片模板")
    var picTemplate: List<CategoryVo>? = null,
)
